#ifndef HIDUSAGE_H
#define HIDUSAGE_H

//从microSip上面拷贝下来的内容

#define HID_USAGE_PAGE_TELEPHOY ((unsigned short)0x000B)
#define HID_USAGE_PAGE_CONSUMER ((unsigned short)0x000C)
#define HID_USAGE_PAGE_LED ((unsigned short)0x0008)

#define HID_USAGE_TELEPHOY_HEADSET ((unsigned short)0x0005)
#define HID_USAGE_TELEPHOY_HANDSET ((unsigned short)0x0004)
#define HID_USAGE_CONSUMERCTRL ((unsigned short)0x0001)

//#define HID_USAGE_TELEPHOY_HOOK_SWITCH ((unsigned short)0x0200)
#define HID_USAGE_TELEPHOY_HOOK_SWITCH ((unsigned short)0x20)
#define HID_USAGE_TELEPHOY_MUTE ((unsigned short)0x2F)
#define HID_USAGE_TELEPHOY_REDIAL ((unsigned short)0x24)
#define HID_USAGE_TELEPHOY_FLASH ((unsigned short)0x21)
#define HID_USAGE_TELEPHOY_LINE_BUSY ((unsigned short)0x97)

#define HID_USAGE_CONSUMER_VOLUME_INCREMENT ((unsigned short)0xE9)
#define HID_USAGE_CONSUMER_VOLUME_DECREMENT ((unsigned short)0xEA)

#define HID_USAGE_LED_OFF_HOOK ((unsigned short)0x17)
#define HID_USAGE_LED_MUTE ((unsigned short)0x09)
#define HID_USAGE_LED_HOLD ((unsigned short)0x20)
#define HID_USAGE_LED_RING ((unsigned short)0x18)

enum KeyEnum{
    KEY_NULL,
    KEY_HOOK_SWITCH,
    KEY_MUTE,
    KEY_FLASH,
    KEY_VOLUME_INC,
    KEY_VOLUME_DEC
};
#endif // HIDUSAGE_H
